﻿@using Course.Models
@{
    ViewBag.Title = "DownLoadList";
}
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>首页</title>
    <link href="@Url.Content("~/Content/Styles/HomePage.css")" rel="stylesheet" type="text/css" />
</head>
<body>
    <div class="hometop">
        <br />
        @RenderPage("../Shared/Pagetop.cshtml")
    </div>
    <div class="homemid">
        <b class="b1"></b><b class="b2 d1"></b><b class="b3 d1"></b><b class="b4 d1"></b>
        <div class="b kkkkright">
            <div id="mypicture">
                <img src="@Url.Content("~/Content/Images/10.gif")" alt="10" />
            </div>
            <br />
            <div id="myContentss">
                @{IQueryable<Download> all = ViewData["all"] as IQueryable<Download>;}
                @foreach (var one in all)
                {
@*   @Html.ActionLink(one.DName, "DownLoad", "Home", new { itName=one.DName},null)*@

                    <br />
                    @Html.ActionLink(one.DName, "StreamFileFromDisk", "Home", new { url = one.DUrl }, null)
          
                }
            </div>
        </div>
        <b class="b4b d1"></b><b class="b3b d1"></b><b class="b2b d1"></b><b class="b1b">
        </b>
        <div id="row3">
        </div>
    </div>
</body>
</html>
@*<table>
  <tr>
     @Html.ActionLink("运筹学数学专业64学时", "Download", "Home", new { name = "运筹学数学专业64学时" },null)
  </tr>
   <tr>
   @Html.ActionLink("运筹学32学时", "Download", "Home", new { name = "运筹学32学时" }, null)

  </tr>
   <tr>@Html.ActionLink("运筹学64学时", "Download", "Home", new { name = "运筹学64学时" }, null)
  </tr>

   <tr>@Html.ActionLink("运筹学研究生课程", "Download", "Home", new { name = "运筹学研究生课程" }, null)

  </tr>
   <tr>@Html.ActionLink("运筹学双语课程", "Download", "Home", new { name = "运筹学双语课程" }, null)

  </tr>
   <tr>@Html.ActionLink("运筹学选修课", "Download", "Home", new { name = "运筹学选修课" }, null)

  </tr>
   <tr>@Html.ActionLink("图论及其应用40学时双语课程", "Download", "Home", new { name = "图论及其应用40学时双语课程" }, null)

  </tr>
   <tr>@Html.ActionLink("最优化方法", "Download", "Home", new { name = "最优化方法" }, null)

  </tr>


  </table>*@ 